package org.dromara.Nyt7PremiumSubsidyInfo.domain.bo;

import org.dromara.Nyt7PremiumSubsidyInfo.domain.Nyt7PremiumSubsidyInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 保费补贴比例业务对象 nyt_7_premium_subsidy_info
 *
 * @author Lion Li
 * @date 2024-12-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Nyt7PremiumSubsidyInfo.class, reverseConvertGenerate = false)
public class Nyt7PremiumSubsidyInfoBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 中央财政补贴比例
     */
    @NotNull(message = "中央财政补贴比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double centralFinanceSubsidy;

    /**
     * 省级财政补贴比例
     */
    @NotNull(message = "省级财政补贴比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double provincialFinanceSubsidy;

    /**
     * 地市财政补贴比例
     */
    @NotNull(message = "地市财政补贴比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double cityFinanceSubsidy;

    /**
     * 区县财政补贴比例
     */
    @NotNull(message = "区县财政补贴比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double districtFinanceSubsidy;

    /**
     * 其他财政补贴比例
     */
    @NotNull(message = "其他财政补贴比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double otherFinanceSubsidy;


}
